﻿using System.Collections.Generic;

namespace WallpaperSharing.DataAccess.Interfaces
{
    public interface IDaoBase<T1, in T2>
    {
        IList<T1> SelectAll();
        T1 SelectById(T2 id);
        void Insert(T1 domain);
        void Update(T1 domain);
        void Delete(T2 id);
    }
}
